package com.sh.data.engine.domain.workspace.index.model.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 项目概览
 *
 * @author jiayi
 * @date 2023/1/12 9:45
 */
@Data
public class ProjectTabviewDomain {

    private Long id;

    private String name;

    private Integer modelCount;

    private Integer indexCount;

    private Integer dataApiCount;

    private Integer diskUsage;

    private Integer memoryUsage;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
